
package com.sforce.soap.enterprise.sobject;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import com.sforce.soap.enterprise.JunctionIdListNames;
import com.sforce.soap.enterprise.QueryResult;


/**
 * <p>RelationshipInfo complex typeのJavaクラス。
 * 
 * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。
 * 
 * <pre>
 * &lt;complexType name="RelationshipInfo">
 *   &lt;complexContent>
 *     &lt;extension base="{urn:sobject.enterprise.soap.sforce.com}sObject">
 *       &lt;sequence>
 *         &lt;element name="ChildSobject" type="{urn:sobject.enterprise.soap.sforce.com}EntityDefinition" minOccurs="0"/>
 *         &lt;element name="ChildSobjectId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="DurableId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Field" type="{urn:sobject.enterprise.soap.sforce.com}FieldDefinition" minOccurs="0"/>
 *         &lt;element name="FieldId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="IsCascadeDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="IsDeprecatedAndHidden" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="IsRestrictedDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="JunctionIdListNames" type="{urn:enterprise.soap.sforce.com}JunctionIdListNames" minOccurs="0"/>
 *         &lt;element name="RelationshipDomains" type="{urn:enterprise.soap.sforce.com}QueryResult" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RelationshipInfo", propOrder = {
    "childSobject",
    "childSobjectId",
    "durableId",
    "field",
    "fieldId",
    "isCascadeDelete",
    "isDeprecatedAndHidden",
    "isRestrictedDelete",
    "junctionIdListNames",
    "relationshipDomains"
})
public class RelationshipInfo
    extends SObject
{

    @XmlElementRef(name = "ChildSobject", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<EntityDefinition> childSobject;
    @XmlElementRef(name = "ChildSobjectId", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<String> childSobjectId;
    @XmlElementRef(name = "DurableId", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<String> durableId;
    @XmlElementRef(name = "Field", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<FieldDefinition> field;
    @XmlElementRef(name = "FieldId", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<String> fieldId;
    @XmlElementRef(name = "IsCascadeDelete", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<Boolean> isCascadeDelete;
    @XmlElementRef(name = "IsDeprecatedAndHidden", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<Boolean> isDeprecatedAndHidden;
    @XmlElementRef(name = "IsRestrictedDelete", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<Boolean> isRestrictedDelete;
    @XmlElementRef(name = "JunctionIdListNames", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<JunctionIdListNames> junctionIdListNames;
    @XmlElementRef(name = "RelationshipDomains", namespace = "urn:sobject.enterprise.soap.sforce.com", type = JAXBElement.class, required = false)
    protected JAXBElement<QueryResult> relationshipDomains;

    /**
     * childSobjectプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link EntityDefinition }{@code >}
     *     
     */
    public JAXBElement<EntityDefinition> getChildSobject() {
        return childSobject;
    }

    /**
     * childSobjectプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link EntityDefinition }{@code >}
     *     
     */
    public void setChildSobject(JAXBElement<EntityDefinition> value) {
        this.childSobject = value;
    }

    /**
     * childSobjectIdプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getChildSobjectId() {
        return childSobjectId;
    }

    /**
     * childSobjectIdプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setChildSobjectId(JAXBElement<String> value) {
        this.childSobjectId = value;
    }

    /**
     * durableIdプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getDurableId() {
        return durableId;
    }

    /**
     * durableIdプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setDurableId(JAXBElement<String> value) {
        this.durableId = value;
    }

    /**
     * fieldプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link FieldDefinition }{@code >}
     *     
     */
    public JAXBElement<FieldDefinition> getField() {
        return field;
    }

    /**
     * fieldプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link FieldDefinition }{@code >}
     *     
     */
    public void setField(JAXBElement<FieldDefinition> value) {
        this.field = value;
    }

    /**
     * fieldIdプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getFieldId() {
        return fieldId;
    }

    /**
     * fieldIdプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setFieldId(JAXBElement<String> value) {
        this.fieldId = value;
    }

    /**
     * isCascadeDeleteプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getIsCascadeDelete() {
        return isCascadeDelete;
    }

    /**
     * isCascadeDeleteプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setIsCascadeDelete(JAXBElement<Boolean> value) {
        this.isCascadeDelete = value;
    }

    /**
     * isDeprecatedAndHiddenプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getIsDeprecatedAndHidden() {
        return isDeprecatedAndHidden;
    }

    /**
     * isDeprecatedAndHiddenプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setIsDeprecatedAndHidden(JAXBElement<Boolean> value) {
        this.isDeprecatedAndHidden = value;
    }

    /**
     * isRestrictedDeleteプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getIsRestrictedDelete() {
        return isRestrictedDelete;
    }

    /**
     * isRestrictedDeleteプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setIsRestrictedDelete(JAXBElement<Boolean> value) {
        this.isRestrictedDelete = value;
    }

    /**
     * junctionIdListNamesプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link JunctionIdListNames }{@code >}
     *     
     */
    public JAXBElement<JunctionIdListNames> getJunctionIdListNames() {
        return junctionIdListNames;
    }

    /**
     * junctionIdListNamesプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link JunctionIdListNames }{@code >}
     *     
     */
    public void setJunctionIdListNames(JAXBElement<JunctionIdListNames> value) {
        this.junctionIdListNames = value;
    }

    /**
     * relationshipDomainsプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link QueryResult }{@code >}
     *     
     */
    public JAXBElement<QueryResult> getRelationshipDomains() {
        return relationshipDomains;
    }

    /**
     * relationshipDomainsプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link QueryResult }{@code >}
     *     
     */
    public void setRelationshipDomains(JAXBElement<QueryResult> value) {
        this.relationshipDomains = value;
    }

}
